package com.liangzhong.model.activity.vip
{
	import com.liangzhong.model.AppData;
	import com.liangzhong.model.goods.vo.GoodsVo;

	public class VipAwardVo
	{
		public function VipAwardVo()
		{
		}
		public var goods:GoodsVo;
		/**
		 *物品ID 
		 */
		public var pid:int;
		/**
		 *物品类型 
		 */
		public var type:int;
		/**
		 *奖励数量 
		 */
		public var num:int;
		/**
		 *解析数据 
		 * @param $str
		 * 
		 */
		public function analysisStr($str:String):void
		{
			var arr:Array = $str.split("_");
			pid = arr[0];
			type = arr[1];
			num = arr[2];
			goods = AppData.getInstance().goodsManager.getGoodsByTypeAndId(type,pid);
		}
	}
}